<?php
use App\Models\ConstCode;

$domain = 'http://'.env('APP_API_URL');

return [
    'wechat'=>[
        'mobile'=>[
            'app_id' => '',
            'app_secret' => '',
            'callback' => $domain . '/oauth/wechat/mobile',
            'scope'     => 'snsapi_base',//静默授权=>snsapi_base;获取用户信息=>snsapi_userinfo
        ],
        'applets'=>[
            'app_id' => '',
            'app_secret' => '',
            'type' => 'applets',
        ],
    ],
];
